﻿using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System;

namespace EzDesk.Apps.Model.Attendance
{
    [DataContract]
    public class AttendanceConfig
    {
        /// <summary>
        /// 标准上班时间
        /// </summary>
        [DataMember]
        public SimpleTime StdOnDutyTime { get; set; }

        /// <summary>
        /// 标准上班时间延迟量（延迟这个时间仍然不算迟到）
        /// </summary>
        [DataMember]
        public TimeSpan StdOnDutyTimeDelay { get; set; }

        /// <summary>
        /// 弹性上班时间提前量
        /// </summary>
        [DataMember]
        public TimeSpan OnDutyOffsetForward { get; set; }

        /// <summary>
        /// 弹性上班时间延后量
        /// </summary>
        [DataMember]
        public TimeSpan OnDutyOffsetAfterward { get; set; }

        /// <summary>
        /// 午休时间段
        /// </summary>
        [DataMember]
        public TimeSpan LunchBreakTime { get; set; }

        /// <summary>
        /// 标准下班时间
        /// </summary>
        [DataMember]
        public SimpleTime StdOffDutyTime { get; set; }

        /// <summary>
        /// 每日标准工时
        /// </summary>
        [DataMember]
        public TimeSpan StdManhours { get; set; }
    }
}
